package com.xy.lang.domain;

import java.io.Serializable;

public class LongIdCodeName implements Serializable {

    private static final long serialVersionUID = -1L;

    /**
     *
     */
    protected Long id;
    /**
     *
     */
    protected String code;
    /**
     *
     */
    protected String name;
    /**
     *
     */
    protected String abbr;

    public LongIdCodeName() {

    }

    /**
     *
     */
    public LongIdCodeName(Long id, String code, String name, String abbr) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.abbr = abbr;
    }

    @Override
    public String toString() {
        return "LongIdCodeName{" +
                "id=" + id +
                ", code=" + code +
                ", name=" + name +
                ", abbr=" + abbr +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbbr() {
        return abbr;
    }

    public void setAbbr(String abbr) {
        this.abbr = abbr;
    }
}
